package com.chb.factoryMethod;

/**
 * @author chihb
 * @create-time 2024/10/23 8:50
 * @description
 */
public class Test {
    public static void main(String[] args) {
        Factory factoryApple = new AppleFactory();
        factoryApple.create().production();
        Factory factoryOrange = new OrangeFactory();
        factoryOrange.create().production();
    }
}
